package com.iyjhsoc.game.util;

import java.util.HashMap;
import java.util.Map;

public class LPLRequest {

    public static Map<String,String> createRequestHeader(String id){
        Map<String,String> map = new HashMap<>();
        map.put(":authority","open.tjstats.com");
        map.put(":method:","GET");
        map.put(":path:","/match-auth-app/open/v1/compound/matchDetail?matchId="+id);
        map.put(":scheme:","https");
        map.put("authorization","be4c41d8760a28c05581a7b1f570");
        map.put("cookie","tj_rp_did=d006e0f68ac611efb522160d777b2a29");
        map.put("origin","https://lpl.qq.com");
        map.put("priority","u=1, i");
        map.put("accept","application/json");
        map.put("content-type","application/json");
        map.put("accept-language","zh-CN,zh;q=0.9");
        map.put("accept-encoding", "gzip, deflate, br, zstd");
        map.put("referer","https://lpl.qq.com/");
        map.put("sec-ch-ua","\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\"");
        map.put("sec-ch-ua-mobile","?0");
        map.put("sec-ch-ua-platform","Windows");
        map.put("sec-fetch-dest","empty");
        map.put("sec-fetch-mode","cors");
        map.put("sec-fetch-site","cross-site");
        map.put("user-agent","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36");
      return map;
    }
}
